import { reactive } from "vue";

export const PD_42_1 = reactive({
    communication_status: 1,
    PD_42: {
        "VFD1FaultReturn_DI": false,
        "VFD1FaultFeed_AI": 0,
        "VFD1MSStatus_AI": 0,
        "VFD1MotorCoolFanRun_AI": 0,
        "VFD1MotorCoolPumpRun_AI": 0,
        "VFD1CoolFanFaultReturn_DI": false,
        "Equip1Vib_AI": 0,
        "Equip1RearShaftTmp_AI": 0,
        "HESupTmp_AI": 0,
        "HERetTmp_AI": 0,
        "HEPress_AI": 0,
        "Equip1FrontShaftTmp_AI": 0,
        "Equip1HVib_AI": 0,
        "Equip1UTmp_AI": 0,
        "Equip1VTmp_AI": 0,
        "Equip1WTmp_AI": 0,
        "Equip1OpCurr_AI": 0,
        "Equip1OpPow_AI": 0,
        "Equip1OpFreq_AI": 0,
        "VFD2FaultReturn_DI": false,
        "VFD2FaultFeed_AI": 0,
        "VFD2RunFeed_AI": 0,
        "VFD2MSStatus_AI": 0,
        "VFD2MotorCoolFanRun_AI": 0,
        "VFD2MotorCoolPumpRun_AI": 0,
        "VFD2CoolFanFaultReturn_DI": false,
        "Equip2Vib_AI": 0,
        "Equip2RearShaftTmp_AI": 0,
        "Equip2FrontShaftTmp_AI": 0,
        "Equip2HVib_AI": 0,
        "Equip2UTmp_AI": 0,
        "Equip2VTmp_AI": 0,
        "Equip2WTmp_AI": 0,
        "Equip2OpCurr_AI": 0,
        "Equip2OpPow_AI": 0,
        "Equip2OpFreq_AI": 0,
        "VFD3FaultReturn_DI": false,
        "VFD3FaultFeed_AI": 0,
        "VFD3RunFeed_AI": 0,
        "VFD3MSStatus_AI": 0,
        "VFD3MotorCoolFanRun_AI": 0,
        "VFD3MotorCoolPumpRun_AI": 0,
        "VFD3CoolFanFaultReturn_DI": false,
        "Equip3Vib_AI": 0,
        "Equip3RearShaftTmp_AI": 0,
        "Equip3FrontShaftTmp_AI": 0,
        "Equip3HVib_AI": 0,
        "Equip3UTmp_AI": 0,
        "Equip3VTmp_AI": 0,
        "Equip3WTmp_AI": 0,
        "Equip3OpCurr_AI": 0,
        "Equip3OpPow_AI": 0,
        "Equip3OpFreq_AI": 0,
        "Spare6ShortRatio_AI": 0,
        "Spare6StrShortFault_AI": 0,
        "Spare6StrOvldFault_AI": 0,
        "Spare6StrLoopFaultInd_AI": 0,
        "Spare6StrEarthLeakFault_AI": 0,
        "Spare6StrPhaseLossFault_AI": 0,
        "Spare6OpCurrA_AI": 0,
        "Spare6OpCurrB_AI": 0,
        "Spare6OpCurrC_AI": 0,
        "Spare6RUNSts_DI": false,
        "Spare6RatedCurr_AI": 0,
        "Spare7ShortRatio_AI": 0,
        "Spare7StrShortFault_AI": 0,
        "Spare7StrOvldFault_AI": 0,
        "Spare7StrLoopFaultInd_AI": 0,
        "Spare7StrEarthLeakFault_AI": 0,
        "Spare7StrPhaseLossFault_AI": 0,
        "Spare7OpCurrA_AI": 0,
        "Spare7OpCurrB_AI": 0,
        "Spare7OpCurrC_AI": 0,
        "Spare7RatedCurr_AI": 0,
        "Spare3ShortRatio_AI": 0,
        "Spare3StrShortFault_AI": 0,
        "Spare3StrOvldFault_AI": 0,
        "Spare3StrLoopFaultInd_AI": 0,
        "Spare3StrEarthLeakFault_AI": 0,
        "Spare3StrPhaseLossFault_AI": 0,
        "Spare3OpCurrA_AI": 0,
        "Spare3OpCurrB_AI": 0,
        "Spare3OpCurrC_AI": 0,
        "Spare3RUNSts_DI": false,
        "Spare3RatedCurr_AI": 0,
        "Spare4ShortRatio_AI": 0,
        "Spare4StrShortFault_AI": 0,
        "Spare4StrOvldFault_AI": 0,
        "Spare4StrLoopFaultInd_AI": 0,
        "Spare4StrEarthLeakFault_AI": 0,
        "Spare4StrPhaseLossFault_AI": 0,
        "Spare4OpCurrA_AI": 0,
        "Spare4OpCurrB_AI": 0,
        "Spare4OpCurrC_AI": 0,
        "Spare4RUNSts_DI": false,
        "Spare4RatedCurr_AI": 0,
        "Spare5ShortRatio_AI": 0,
        "Spare5StrShortFault_AI": 0,
        "Spare5StrOvldFault_AI": 0,
        "Spare5StrLoopFaultInd_AI": 0,
        "Spare5StrEarthLeakFault_AI": 0,
        "Spare5StrPhaseLossFault_AI": 0,
        "Spare5OpCurrA_AI": 0,
        "Spare5OpCurrB_AI": 0,
        "Spare5OpCurrC_AI": 0,
        "Spare5RUNSts_DI": false,
        "Spare5RatedCurr_AI": 0,
        "VFCoolFan7ShortRatio_AI": 0,
        "VFCoolFan7StrShortFault_AI": 0,
        "VFCoolFan7StrOvldFault_AI": 0,
        "VFCoolFan7StrLoopFaultInd_AI": 0,
        "VFCoolFan7StrEarthLeakFault_AI": 0,
        "VFCoolFan7StrPhaseLossFault_AI": 0,
        "VFCoolFan7OpCurrA_AI": 0,
        "VFCoolFan7OpCurrB_AI": 0,
        "VFCoolFan7OpCurrC_AI": 0,
        "VFCoolFan7RUNSts_DI": false,
        "VFCoolFan7RatedCurr_AI": 0,
        "VFCoolPump1ShortRatio_AI": 0,
        "VFCoolPump1StrShortFault_AI": 0,
        "VFCoolPump1StrOvldFault_AI": 0,
        "VFCoolPump1StrLoopFaultInd_AI": 0,
        "VFCoolPump1StrEarthLeakFault_AI": 0,
        "VFCoolPump1StrPhaseLossFault_AI": 0,
        "VFCoolPump1OpCurrA_AI": 0,
        "VFCoolPump1OpCurrB_AI": 0,
        "VFCoolPump1OpCurrC_AI": 0,
        "VFCoolPump1RUNSts_DI": false,
        "VFCoolPump1RatedCurr_AI": 0,
        "Mot2CoolFan3ShortRatio_AI": 0,
        "Mot2CoolFan3StrShortFault_AI": 0,
        "Mot2CoolFan3StrOvldFault_AI": 0,
        "Mot2CoolFan3StrLoopFaultInd_AI": 0,
        "Mot2CoolFan3StrEarthLeakFault_AI": 0,
        "Mot2CoolFan3StrPhaseLossFault_AI": 0,
        "Mot2CoolFan3OpCurrA_AI": 0,
        "Mot2CoolFan3OpCurrB_AI": 0,
        "Mot2CoolFan3OpCurrC_AI": 0,
        "Mot2CoolFan3RUNSts_DI": false,
        "Mot2CoolFan3RatedCurr_AI": 0,
        "Mot2CoolWPump4ShortRatio_AI": 0,
        "Mot2CoolWPump4StrShortFault_AI": 0,
        "Mot2CoolWPump4StrOvldFault_AI": 0,
        "Mot2CoolWPump4StrLoopFaultInd_AI": 0,
        "Mot2CoolWPump4StrEarthLeakFault_AI": 0,
        "Mot2CoolWPump4StrPhaseLossFault_AI": 0,
        "Mot2CoolWPump4OpCurrA_AI": 0,
        "Mot2CoolWPump4OpCurrB_AI": 0,
        "Mot2CoolWPump4OpCurrC_AI": 0,
        "Mot2CoolWPump4RUNSts_DI": false,
        "Mot2CoolWPump4RatedCurr_AI": 0,
        "HNProtDrumTmp1_AI": 0,
        "HNProtDrumTmp2_AI": 0,
        "HNProtTermVolt_AI": 0,
        "Head760SEBoxVolt_AI": 0,
        "Tail760SEBoxVolt_AI": 0,
        "PLCBox2ShortRatio_AI": 0,
        "PLCBox2StrShortFault_AI": 0,
        "PLCBox2StrOvldFault_AI": 0,
        "PLCBox2StrLoopFaultInd_AI": 0,
        "PLCBox2StrEarthLeakFault_AI": 0,
        "PLCBox2StrPhaseLossFault_AI": 0,
        "PLCBox2OpCurrA_AI": 0,
        "PLCBox2OpCurrB_AI": 0,
        "PLCBox2OpCurrC_AI": 0,
        "PLCBox2RUNSts_DI": false,
        "PLCBox2RatedCurr_AI": 0,
        "HNReturnFault_DI": false,
        "HExchFanRun_AI": 0,
        "HExchWPumpReturnFault_DI": false,
        "HExchWPumpRun_AI": 0,
        "HExchFault_AI": false,
        "EmergBrake_AI": 0,
        "EmergStopSum_AI": 0,
        "BeltProtFault_AI": 0,
        "BeltProtRunFeed_AI": 0,
        "FlexBrake_AI": 0,
        "TensionReturnFault_AI": 0,
        "TensionRunFeed_AI": 0,
        "BrakeReturnFault_AI": 0,
        "BrakeReleaseFeed_AI": 0,
        "Mot3CoolFan5ShortRatio_AI": 0,
        "Mot3CoolFan5StrShortFault_AI": 0,
        "Mot3CoolFan5StrOvldFault_AI": 0,
        "Mot3CoolFan5StrLoopFaultInd_AI": 0,
        "Mot3CoolFan5StrEarthLeakFault_AI": 0,
        "Mot3CoolFan5StrPhaseLossFault_AI": 0,
        "Mot3CoolFan5OpCurrA_AI": 0,
        "Mot3CoolFan5OpCurrB_AI": 0,
        "Mot3CoolFan5OpCurrC_AI": 0,
        "Mot3CoolFan5RUNSts_DI": false,
        "Mot3CoolFan5RatedCurr_AI": 0,
        "Mot3CoolWPump6ShortRatio_AI": 0,
        "Mot3CoolWPump6StrShortFault_AI": 0,
        "Mot3CoolWPump6StrOvldFault_AI": 0,
        "Mot3CoolWPump6StrLoopFaultInd_AI": 0,
        "Mot3CoolWPump6StrEarthLeakFault_AI": 0,
        "Mot3CoolWPump6StrPhaseLossFault_AI": 0,
        "Mot3CoolWPump6OpCurrA_AI": 0,
        "Mot3CoolWPump6OpCurrB_AI": 0,
        "Mot3CoolWPump6OpCurrC_AI": 0,
        "Mot3CoolWPump6RUNSts_DI": false,
        "Mot3CoolWPump6RatedCurr_AI": 0,
        "Mot1CoolFan1ShortRatio_AI": 0,
        "Mot1CoolFan1StrShortFault_AI": 0,
        "Mot1CoolFan1StrOvldFault_AI": 0,
        "Mot1CoolFan1StrLoopFaultInd_AI": 0,
        "Mot1CoolFan1StrEarthLeakFault_AI": 0,
        "Mot1CoolFan1StrPhaseLossFault_AI": 0,
        "Mot1CoolFan1OpCurrA_AI": 0,
        "Mot1CoolFan1OpCurrB_AI": 0,
        "Mot1CoolFan1OpCurrC_AI": 0,
        "Mot1CoolFan1RUNSts_DI": false,
        "Mot1CoolFan1RatedCurr_AI": 0,
        "Mot1CoolWPump2ShortRatio_AI": 0,
        "Mot1CoolWPump2StrShortFault_AI": 0,
        "Mot1CoolWPump2StrOvldFault_AI": 0,
        "Mot1CoolWPump2StrLoopFaultInd_AI": 0,
        "Mot1CoolWPump2StrEarthLeakFault_AI": 0,
        "Mot1CoolWPump2StrPhaseLossFault_AI": 0,
        "Mot1CoolWPump2OpCurrA_AI": 0,
        "Mot1CoolWPump2OpCurrB_AI": 0,
        "Mot1CoolWPump2OpCurrC_AI": 0,
        "Mot1CoolWPump2RUNSts_DI": false,
        "Mot1CoolWPump2RatedCurr_AI": 0,
    },
    PD_42_PT_42: {
        "PT42Lock1ReleaseSts_DI": false,
        "PT42Lock10ReleaseSts_DI": false,
        "PT42Lock11ReleaseSts_DI": false,
        "PT42Lock12ReleaseSts_DI": false,
        "PT42Lock13ReleaseSts_DI": false,
        "PT42Lock14ReleaseSts_DI": false,
        "PT42Lock15ReleaseSts_DI": false,
        "PT42Lock16ReleaseSts_DI": false,
        "PT42Lock17ReleaseSts_DI": false,
        "PT42Lock18ReleaseSts_DI": false,
        "PT42Lock19ReleaseSts_DI": false,
        "PT42Lock2ReleaseSts_DI": false,
        "PT42Lock20ReleaseSts_DI": false,
        "PT42Lock21ReleaseSts_DI": false,
        "PT42Lock22ReleaseSts_DI": false,
        "PT42Lock23ReleaseSts_DI": false,
        "PT42Lock24ReleaseSts_DI": false,
        "PT42Lock25ReleaseSts_DI": false,
        "PT42Lock26ReleaseSts_DI": false,
        "PT42Lock27ReleaseSts_DI": false,
        "PT42Lock28ReleaseSts_DI": false,
        "PT42Lock29ReleaseSts_DI": false,
        "PT42Lock3ReleaseSts_DI": false,
        "PT42Lock30ReleaseSts_DI": false,
        "PT42Lock31ReleaseSts_DI": false,
        "PT42Lock32ReleaseSts_DI": false,
        "PT42Lock33ReleaseSts_DI": false,
        "PT42Lock34ReleaseSts_DI": false,
        "PT42Lock35ReleaseSts_DI": false,
        "PT42Lock36ReleaseSts_DI": false,
        "PT42Lock37ReleaseSts_DI": false,
        "PT42Lock38ReleaseSts_DI": false,
        "PT42Lock4ReleaseSts_DI": false,
        "PT42Lock5ReleaseSts_DI": false,
        "PT42Lock6ReleaseSts_DI": false,
        "PT42Lock7ReleaseSts_DI": false,
        "PT42Lock8ReleaseSts_DI": false,
        "PT42Lock9ReleaseSts_DI": false,
        "PT42CoalPileReleaseSts1_DI": false,
        "PT42CoalPileReleaseSts2_DI": false,
        "PT42SmokeReleaseSts_DI": false,
        "PT421stDeviationReleaseSts1_DI": false,
        "PT421stDeviationReleaseSts2_DI": false,
        "PT421stDeviationReleaseSts3_DI": false,
        "PT421stDeviationReleaseSts4_DI": false,
        "PT42LongTearActiveSts1_DI": false,
        "PT42LongTearActiveSts2_DI": false,



    },
    PD_42_GEN: {
        ControlCentral_AI: 0,//总貌4-2皮带-华宁控制区-集控
        HNWarn_DI: false,//总貌4-2皮带-华宁预警-4-2大巷一部皮带
        CtrlReset_DO: false,//总貌4-2皮带-控制区-故障复位
        ControlEmergStop_DI: false,//总貌4-2皮带-控制区-急停
        CtrlStart_DO: false,//总貌4-2皮带-控制区-启动
        CtrlStop_DO: false,//总貌4-2皮带-控制区-停止
        CtrlMaint_AI: false,//总貌4-2皮带-皮带控制方式-检修
        CtrlGroup_AI: false,//总貌4-2皮带-皮带控制方式-集控
        CtrlLocal_AI: false,//总貌4-2皮带-皮带控制方式-就地
        CtrlManual_AI: false,//总貌4-2皮带-皮带控制方式-手动
        Alarm_DI: false,//总貌4-2皮带-系统总故障-4-2大巷一部皮带
        MultiSpeed_AI: 0,//总貌4-2皮带-状态区-多段速度给定
        SpeedDisp_AI: 0,//总貌4-2皮带-状态区-多段速度显示
        BeltSpeed_AI: 0,//总貌4-2皮带-状态区-皮带速度
        RUNSts_DI: false,//总貌4-2皮带-状态区-运行状态
        CoalBunker_AI: 0,//总貌4-2皮带-总页面-4-2原煤仓仓位
    },

    ////传感器参数 Modbus
    "404097": 0,
    "404098": 0,
    "404099": 0,
    "404100": 0,
    "408193": 0,
    "408194": 0,
    "408195": 0,
    "408196": 0,
    "404105": 0,
    "404106": 0,
    "404107": 0,
    "404108": 0,
    "404109": 0,
    "404110": 0,
    "405121": 0,
    "405122": 0,
    "405123": 0,
    "405124": 0,
    "405125": 0,
    "405126": 0,
    "405127": 0,
    "405128": 0,
    "405129": 0,
    "405130": 0,
    "405131": 0,
    "405132": 0,
    "405133": 0,
    "405134": 0,
    "402053": 0,
    "402054": 0,
    "402051": 0,
    "402052": 0,
    "402049": 0,
    "402050": 0,


})